import { isIOS } from '../../../../constant';
import {
  address,
  feedback,
  set,
  order,
  mifeng
} from '../../../../constant/resource';
import {
  onPressSet,
  onPressAddress,
  onPressSendLog,
  onPressOrderList,
  onPressCharge
} from './actions';
import { Item } from './types.d';

export const ITEMS: Item[] = [
  {
    icon: mifeng,
    title: '蜜蜂币',
    action: onPressCharge,
    show: isIOS,
    needArrow: true
  },
  {
    icon: order,
    title: '我的订单',
    action: onPressOrderList,
    show: true,
    needArrow: true
  },
  {
    icon: address,
    title: '我的收货地址',
    action: onPressAddress,
    show: true,
    needArrow: true
  },
  {
    isLine: true,
    show: true
  },
  {
    icon: set,
    title: '系统设置',
    action: onPressSet,
    show: true,
    needArrow: true
  },
  {
    icon: feedback,
    title: '问题反馈',
    action: onPressSendLog,
    show: true,
    needArrow: true
  }
];

export enum GENDER {
  Unknown,
  Male,
  Female
}

export const empty = '';
